package com.zxjbyte.yiyi.module.plugin.job.domain.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author zhangxingjia
 * @Date 2024/1/4 17:15
 * @Version: 1.0
 */
@Data
@Schema(description = "更新定时任务")
public class QJobUpdateRequest extends QJobAddRequest{

    @Schema(description = "任务id")
    @NotNull(message = "任务id不能为空")
    private Long id;
}
